package io.hxci.modules.tea.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.hxci.atest.ExcelColumn;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
    * 教师培训进修、交流情况
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tea_communicate")
public class TeaCommunicate {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "user_id")
    private Long userId;
    /**
     * 培训进修，交流类别
     */
    @TableField(value = "communicate_kind_id")
    @ExcelColumn(value ="培训进修，交流类别",col = 2,width = 10*256)
    private Integer communicateKindId;

    @TableField(value = "note")
    @ExcelColumn(value ="备注",col = 2,width = 10*256)
    private String note;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    @ExcelColumn(value ="创建时间",col = 2,width = 10*256)
    private Date created;

    /**
     * 修改时间
     */
    @TableField(value = "last_update_time")
    @ExcelColumn(value ="修改时间",col = 2,width = 10*256)
    private Date lastUpdateTime;


    @TableField(exist=false)
    private String num;
    @TableField(exist=false)
    private String username;
    @TableField(exist=false)
    private String deptname;

    @TableField(exist=false)
    private String communicateKindName;
}